/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package botlab.gui.actionlistener;

import botlab.gui.GUI;
import botlab.gui.Notifier;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/**
 *
 * @author Quentin
 */
public class LevelActionListener implements ActionListener
{
    private GUI gui;
    
    public LevelActionListener(GUI gui)
    {
        this.gui = gui;
    }

    public void actionPerformed(ActionEvent e)
    {
        gui.setMode(GUI.LEVEL_CHOOSER);
        Notifier.getInstance().enterState("level");
        
    }
    
}
